package com.roc.pojo;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * @author zbl
 * @date 2014-08-09
 * */
@Entity
@Table(name = "ESMIDINFO")
public class Esmidinfo  implements Serializable{
	/**
	 * 真实商户基本信息
	 */
	@Id
	private String  mid;
	
	@Column(name="MER_NAME")
	private String  merName;  //商户名
	
	@Column(name="MER_BR_NAME")
	private String merBrName; //营业名称
	
	@Column(name="ENG_NAME")
	private  String  engName;
	
	@Column(name="ENG_BR_NAME")
	private String  engBrName;
	
	@Column(name="MCC")
	private String  mcc;
	
	@Column(name="ADDR")
	private String  addr;
	
	@Column(name="MER_KIND")
	private String merKind;   //商户性质  01 个人 02 企业   
	
	@Column(name="TEL")
	private String  tel;   //电话
	
	@Column(name="FAX")
	private String fax;   //传真
	
	@Column(name="EMAIL")
	private String  email;  //邮件
	
	@Column(name="ZIPCODE")
	private String  zipCode;  //邮编
	
	@Column(name="CONTACT")
	private String contact; //联系人
	
	@Column(name="INTER_CONTACT")
	private String insertContact;  //业务联系人  
	
	@Column(name="SETT_BANK_ID")
	private String  settBackId;  //结算银行
	
	@Column(name="ACC_BANK")
	private String  accBack;   //开户行名称
	
	@Column(name="ACC_NO")
	private String  accNo;  //开户行账号
	
	@Column(name="FC_CARD")
	private String  fcCard;
	
	@Column(name="MIS_FLAG")
	private String  misFlag;
	
	@Column(name="COMM_RATE")
	private Double commRate;  //商户扣率
	
	@Column(name="COMM_MODE") 
	private String commMode;  //商户扣率类型
	
	@Column(name="COMM_AMT")
	private Double  commAmt;
	
	@Column(name="COMM_DIV_NUM")
	private Long  commDivNum;
	
	@Column(name="DIV_LWM1")
	private Double  divLwm1;
	
	@Column(name="DIV_COMM1")
	private Double  divComm1;
	@Column(name="DIV_LWM2")
	private Double  divLwm2;
	
	@Column(name="DIV_COMM2")
	private Double  divComm2;
	
	@Column(name="DIV_LWM3")
	private Double  divLwm3;
	
	@Column(name="DIV_COMM3")
	private Double  divComm3;
	
	@Column(name="DIV_LWM4")
	private Double divLwm4;
	
	@Column(name="DIV_COMM4")
	private Double  divComm4;
	
	@Column(name="BELONG_BRANCH")
	private String   belongBranch;  //所属机构
	
	@Column(name="MEMO")
	private String  memo;
	
	@Column(name="RSV1")
	private  String  rsv1;
	
	@Column(name="RSV2")
	private  String  rsv2;
	
	@Column(name="RSV3")
	private  String  rsv3;
	
	@Column(name="RSV4")
	private  String  rsv4;
	
	@Column(name="FLAG")
	private int  flag;
	
	@Column(name="JOIN_DATE")
	private String joinDate;
	
	@Column(name="MODI_DATE")
	private Date modiDate;
	
	@Column(name="TELLER")
	private String teller;
	
	@Column(name="ROUTEFLAG")
	private Long routeFlag;
	
	@Column(name="ROUTEID")
	private String   routeId;
	
	@Column(name="PREPROFLAG")
	private Long preproFlag;
	
	@Column(name="SETFLAG")
	private Long setFlag;
	
	@Column(name="TOTALTRANS")
	private Long totalTrans;
	
	@Column(name="TOTALAMT")
	private String totalAmt;
	
	@Column(name="CURTOTALTRANS")
	private Long curTotalTrans;
	
	@Column(name="CURTOTALAMT")
	private String  curTotalAmt;
	
	@Column(name="SETTIME")
	private String  settime;
	
	@Column(name="CYCLETIME")
	private  Long cycleTime;
	
	@Column(name="TRANLIST")
	private String tranList;
	@Column(name="TRANS_TIMES")
	private int transTimes ;// 单卡单日交易次数 
	@Column(name="TRANS_TOTAL_AMT_DJ")
	private String transTotalAmtDj;//'10000000' 贷记卡单日累计额度 
	@Column(name="TRANS_TOTAL_AMT_JJ")
	private String transTotalAmtJj;
	
	@Column(name="merber_fee_type")
	private String merberFeeType;//--折扣类型
	
	@Column(name="merber_fee")
	private String merberFee;//商户折扣
	
	@Column(name="merber_fee_amt")
	private String merberFeeAmt;//商户折扣金额
	
	@Column(name="merber_flag")
	private String merberFlag;//合天下标识
	
	@Column(name="MER_STATUS")
	private String merStatus;//风控等级
	
	@Column(name="ACC_TYPE")
	private String accType;//账户类型
	
	@Transient
	private EsmidinfoMerinfo  merinfos;
	
	@Transient
	private String   terNums;
	
	@Transient
	private AreaCode  area;
	
	@Transient
	private String flagName;
	
	@Transient
	private long amount;
	@Transient
	private String etstermid;
	@Transient
	private String estrndate;
	
	
	public Esmidinfo(){}
	
	
	public String getEstrndate() {
		return estrndate;
	}


	public void setEstrndate(String estrndate) {
		this.estrndate = estrndate;
	}


	public String getMid() {
		return mid;
	}

	public long getAmount() {
		return amount;
	}

	public String getEtstermid() {
		return etstermid;
	}

	public void setEtstermid(String etstermid) {
		this.etstermid = etstermid;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getMerName() {
		return merName;
	}

	public void setMerName(String merName) {
		this.merName = merName;
	}

	public String getMerBrName() {
		return merBrName;
	}

	public void setMerBrName(String merBrName) {
		this.merBrName = merBrName;
	}

	public String getEngName() {
		return engName;
	}

	public void setEngName(String engName) {
		this.engName = engName;
	}

	public String getEngBrName() {
		return engBrName;
	}

	public void setEngBrName(String engBrName) {
		this.engBrName = engBrName;
	}

	public String getMcc() {
		return mcc;
	}

	public void setMcc(String mcc) {
		this.mcc = mcc;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getMerKind() {
		return merKind;
	}

	public void setMerKind(String merKind) {
		this.merKind = merKind;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getInsertContact() {
		return insertContact;
	}

	public void setInsertContact(String insertContact) {
		this.insertContact = insertContact;
	}

	public String getSettBackId() {
		return settBackId;
	}

	public void setSettBackId(String settBackId) {
		this.settBackId = settBackId;
	}

	public String getAccBack() {
		return accBack;
	}

	public void setAccBack(String accBack) {
		this.accBack = accBack;
	}

	public String getAccNo() {
		return accNo;
	}

	public void setAccNo(String accNo) {
		this.accNo = accNo;
	}

	public String getFcCard() {
		return fcCard;
	}

	public void setFcCard(String fcCard) {
		this.fcCard = fcCard;
	}

	public String getMisFlag() {
		return misFlag;
	}

	public void setMisFlag(String misFlag) {
		this.misFlag = misFlag;
	}


	public String getCommMode() {
		return commMode;
	}

	public void setCommMode(String commMode) {
		this.commMode = commMode;
	}

	public Double getCommAmt() {
		return commAmt;
	}

	public void setCommAmt(Double commAmt) {
		this.commAmt = commAmt;
	}

	public Long getCommDivNum() {
		return commDivNum;
	}

	public void setCommDivNum(Long commDivNum) {
		this.commDivNum = commDivNum;
	}

	public Double getDivLwm1() {
		return divLwm1;
	}

	public void setDivLwm1(Double divLwm1) {
		this.divLwm1 = divLwm1;
	}

	public Double getDivComm1() {
		return divComm1;
	}

	public void setDivComm1(Double divComm1) {
		this.divComm1 = divComm1;
	}

	public Double getDivLwm2() {
		return divLwm2;
	}

	public void setDivLwm2(Double divLwm2) {
		this.divLwm2 = divLwm2;
	}

	public Double getDivComm2() {
		return divComm2;
	}

	public void setDivComm2(Double divComm2) {
		this.divComm2 = divComm2;
	}

	public Double getDivLwm3() {
		return divLwm3;
	}

	public void setDivLwm3(Double divLwm3) {
		this.divLwm3 = divLwm3;
	}

	public Double getDivComm3() {
		return divComm3;
	}

	public void setDivComm3(Double divComm3) {
		this.divComm3 = divComm3;
	}

	public Double getDivLwm4() {
		return divLwm4;
	}

	public void setDivLwm4(Double divLwm4) {
		this.divLwm4 = divLwm4;
	}

	public Double getDivComm4() {
		return divComm4;
	}

	public void setDivComm4(Double divComm4) {
		this.divComm4 = divComm4;
	}

	public String getBelongBranch() {
		return belongBranch;
	}

	public void setBelongBranch(String belongBranch) {
		this.belongBranch = belongBranch;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getRsv1() {
		return rsv1;
	}

	public void setRsv1(String rsv1) {
		this.rsv1 = rsv1;
	}

	public String getRsv2() {
		return rsv2;
	}

	public void setRsv2(String rsv2) {
		this.rsv2 = rsv2;
	}

	public String getRsv3() {
		return rsv3;
	}

	public void setRsv3(String rsv3) {
		this.rsv3 = rsv3;
	}

	public String getRsv4() {
		return rsv4;
	}

	public void setRsv4(String rsv4) {
		this.rsv4 = rsv4;
	}

	

	public String getJoinDate() {
		return joinDate;
	}

	public void setJoinDate(String joinDate) {
		this.joinDate = joinDate;
	}

	public Date getModiDate() {
		return modiDate;
	}

	public void setModiDate(Date modiDate) {
		this.modiDate = modiDate;
	}

	public String getTeller() {
		return teller;
	}

	public void setTeller(String teller) {
		this.teller = teller;
	}

	public Long getRouteFlag() {
		return routeFlag;
	}

	public void setRouteFlag(Long routeFlag) {
		this.routeFlag = routeFlag;
	}

	public String getRouteId() {
		return routeId;
	}

	public void setRouteId(String routeId) {
		this.routeId = routeId;
	}

	public Long getPreproFlag() {
		return preproFlag;
	}

	public void setPreproFlag(Long preproFlag) {
		this.preproFlag = preproFlag;
	}

	public Long getSetFlag() {
		return setFlag;
	}

	public void setSetFlag(Long setFlag) {
		this.setFlag = setFlag;
	}

	public Long getTotalTrans() {
		return totalTrans;
	}

	public void setTotalTrans(Long totalTrans) {
		this.totalTrans = totalTrans;
	}

	public String getTotalAmt() {
		return totalAmt;
	}

	public void setTotalAmt(String totalAmt) {
		this.totalAmt = totalAmt;
	}

	public Long getCurTotalTrans() {
		return curTotalTrans;
	}

	public void setCurTotalTrans(Long curTotalTrans) {
		this.curTotalTrans = curTotalTrans;
	}

	public String getCurTotalAmt() {
		return curTotalAmt;
	}

	public void setCurTotalAmt(String curTotalAmt) {
		this.curTotalAmt = curTotalAmt;
	}

	public String getSettime() {
		return settime;
	}

	public void setSettime(String settime) {
		this.settime = settime;
	}

	public Long getCycleTime() {
		return cycleTime;
	}

	public void setCycleTime(Long cycleTime) {
		this.cycleTime = cycleTime;
	}

	public String getTranList() {
		return tranList;
	}

	public void setTranList(String tranList) {
		this.tranList = tranList;
	}



	public EsmidinfoMerinfo getMerinfos() {
		return merinfos;
	}

	public void setMerinfos(EsmidinfoMerinfo merinfos) {
		this.merinfos = merinfos;
	}

	public Double getCommRate() {
		return commRate;
	}

	public void setCommRate(Double commRate) {
		this.commRate = commRate;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public String getTerNums() {
		return terNums;
	}

	public void setTerNums(String terNums) {
		this.terNums = terNums;
	}

	public AreaCode getArea() {
		return area;
	}

	public void setArea(AreaCode area) {
		this.area = area;
	}

	public String getFlagName() {
		return flagName;
	}

	public void setFlagName(String flagName) {
		this.flagName = flagName;
	}

	public int getTransTimes() {
		return transTimes;
	}

	public void setTransTimes(int transTimes) {
		this.transTimes = transTimes;
	}

	public String getTransTotalAmtDj() {
		return transTotalAmtDj;
	}

	public void setTransTotalAmtDj(String transTotalAmtDj) {
		this.transTotalAmtDj = transTotalAmtDj;
	}

	public String getTransTotalAmtJj() {
		return transTotalAmtJj;
	}

	public void setTransTotalAmtJj(String transTotalAmtJj) {
		this.transTotalAmtJj = transTotalAmtJj;
	}

	public String getMerberFeeType() {
		return merberFeeType;
	}

	public void setMerberFeeType(String merberFeeType) {
		this.merberFeeType = merberFeeType;
	}

	public String getMerberFee() {
		return merberFee;
	}

	public void setMerberFee(String merberFee) {
		this.merberFee = merberFee;
	}

	public String getMerberFeeAmt() {
		return merberFeeAmt;
	}

	public void setMerberFeeAmt(String merberFeeAmt) {
		this.merberFeeAmt = merberFeeAmt;
	}

	public String getMerberFlag() {
		return merberFlag;
	}

	public void setMerberFlag(String merberFlag) {
		this.merberFlag = merberFlag;
	}

	public String getMerStatus() {
		return merStatus;
	}

	public void setMerStatus(String merStatus) {
		this.merStatus = merStatus;
	}


	public String getAccType() {
		return accType;
	}

	public void setAccType(String accType) {
		this.accType = accType;
	}
	
}
